vowels = {'a','e','i','o','u'}
word = input("Provide a word to search for vowels:")
found = {}
found['a'] = 0
found['e'] = 0
found['i'] = 0
found['o'] = 0
found['u'] = 0
for letter in word:
    if letter in vowels:
        found[letter] +=1
for k,v in sorted(found.items()):
    print(k,'was found',v,'time(s).')

# 运行结果
# Provide a word to search for vowels:showhowfoefnoafeh
# a was found 1 time(s).
# e was found 2 time(s).
# i was found 0 time(s).
# o was found 4 time(s).
# u was found 0 time(s).
#
# 进程已结束，退出代码 0
